package com.oocl.server.po;

import java.net.InetAddress;
import java.util.Date;

public class ClientInfo {

	private InetAddress clientIP;
	private Date startTime;
	
	public ClientInfo(){
		super();
	}
	
	public ClientInfo(InetAddress clientIP, Date startTime) {
		super();
		this.clientIP = clientIP;
		this.startTime = startTime;
	}

	public InetAddress getClientIP() {
		return clientIP;
	}

	public void setClientIP(InetAddress clientIP) {
		this.clientIP = clientIP;
	}

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}
	
	public String objectToString(ClientInfo clientInfo) {
		String strResult = null;
		strResult = clientInfo.getClientIP().toString().concat("..................")
				.concat(clientInfo.getStartTime().toString());
		return strResult;
		
	}
}
